package no.uib.hplims.tools.events;

import java.util.ArrayList;
import java.util.EventObject;
import no.uib.hplims.models.BlastInfo;
import no.uib.hplims.models.MyOrder;

public class BlastResultFetchedEvent extends EventObject {

	private static final long serialVersionUID = -9157530744267361940L;
	
	private String query;
	private ArrayList<BlastInfo> results;
	private MyOrder order;
	private String blastMode;
	private String species;

	public BlastResultFetchedEvent(Object source, String query, ArrayList<BlastInfo> results, MyOrder order, String blastMode, String species) {
		super(source);
		
		this.query = query;
		this.results = results;
		this.order = order;
		this.blastMode = blastMode;
		this.species = species;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	public ArrayList<BlastInfo> getResults() {
		return results;
	}

	public void setResults(ArrayList<BlastInfo> results) {
		this.results = results;
	}

	public MyOrder getOrder() {
		return order;
	}

	public void setOrder(MyOrder order) {
		this.order = order;
	}

	public String getBlastMode() {
		return blastMode;
	}
	
	public void setBlastMode(String blastMode) {
		this.blastMode = blastMode;
	}

	public String getSpecies() {
		return species;
	}

	public void setSpecies(String species) {
		this.species = species;
	}

}
